package com.xxyf.tools;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author 小小怡飞
 * @Date 2022/9/13 0:15
 * @Version JDK 8
 */

public class IndexPage {
    Long end;
    Long start;
    public IndexPage(Long start,Long end){
        this.end = end-1;
        this.start=end-start;
    }

    public Long getEnd() {
        return end;
    }

    public void setEnd(Long end) {
        this.end = end;
    }

    public Long getStart() {
        return start;
    }

    public void setStart(Long start) {
        this.start = start;
    }
}
